package com.appspile.android.ANMP.applocksexy.application.fragment.view;

import android.app.Activity;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.appspile.android.ANMP.applocksexy.R;
import com.appspile.android.ANMP.applocksexy.application.fragment.view.iview.IAppManagerView;
import com.appspile.android.ANMP.applocksexy.commons.LogUtils;
import com.appspile.android.ANMP.applocksexy.global.GlobalApp;

import java.util.ArrayList;
import java.util.List;


public class AppManagerFragment extends Fragment implements IAppManagerView {

    private static final String TAG = "Application Manager Fragment";

    public static AppManagerFragment newInstance(String param1, String param2) {
        AppManagerFragment fragment = new AppManagerFragment();
        Bundle args = new Bundle();

        fragment.setArguments(args);
        return fragment;
    }

    public AppManagerFragment() {
        // Required empty public constructor
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (getArguments() != null) {
     //       getPackages();
        }
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_application_manager, container, false);
    }


    @Override
    public void onAttach(Activity activity) {
        super.onAttach(activity);

    }

    @Override
    public void onDetach() {
        super.onDetach();

    }

    @Override
    public void showAppManager(List<Object> objects) {

    }

    @Override
    public void setClockApp(int position) {

    }
}
